﻿using System;
using UnityEngine.SceneManagement;

namespace SaveDataStructures
{
	// Token: 0x02000353 RID: 851
	[Serializable]
	public class SaveData
	{
		// Token: 0x06001622 RID: 5666 RVA: 0x0008FD84 File Offset: 0x0008DF84
		public SaveData(bool save = false)
		{
			if (!save)
			{
				return;
			}
			this.version = global::Version.GetVersionNumber();
			this.scene = SceneManager.GetActiveScene().name;
			this.entities = new EntitiesData(true);
		}

		// Token: 0x040018CE RID: 6350
		public string scene;

		// Token: 0x040018CF RID: 6351
		public string version;

		// Token: 0x040018D0 RID: 6352
		public EntitiesData entities;
	}
}
